Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'zrno ORDER BY `c`.`ord` ASC, `c`.`uciskat` ASC, `c`.`ciskat` ASC' at line 2' in /usr/share/php5/libzend-framework/Zend/Db/Statement/Pdo.php:228
Stack trace:
#0 /usr/share/php5/libzend-framework/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#1 /usr/share/php5/libzend-framework/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#2 /usr/share/php5/libzend-framework/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#3 /usr/share/php5/libzend-framework/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array)
#4 /usr/share/php5/libzend-framework/Zend/Db/Table/Abstract.php(1575): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select))
#5 /usr/share/php5/libzend-framework in /usr/share/php5/libzend-framework/Zend/Controller/Plugin/Broker.php on line 336